.recommendation-problem-wrapper{
  :global{
    .ques-title-opera{
      margin-top: 12px;
      display: flex;
      align-items: center;
      cursor: pointer;
      justify-content: flex-end;
      color: #808AA1;
      font-size: 0.6rem;

      svg {
        width: 0.7rem;
        height: 0.7rem;
      }
      path {
        fill: #808AA1;
      }

      span {
          padding-left: 4px;
      }

      &-hovered {
        color: #fff;
        path {
          fill: #fff;
        }
    }
    }
  }
 
}
.tip-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.tip {
  color: #666666;
  font-size: 0.8rem;
  margin: 0.5rem 1rem;
}
.recommendation-problem-item {
  // width: 100%;
  --radius: 8px;
  // margin: 0.5rem 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  border-radius: var(--radius);
  grid-column: span 6 / -1;
  animation: fade-in 0.3s ease-out forwards;
  background: #0156C0;
  padding: 0.4rem;
  font-size: 0.6rem;
  cursor: pointer;
  .item-text {
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    // padding-right: 0.6rem;
  }
}
.initMode {
  margin: 0;
}
.initMode:not(:last-child) {
  margin-bottom: 0.5rem;
}

.top {
  border: 1px solid #87a3ff;
}

.second {
  border: 1px solid #cbd0d9;
}

.default {
  border: 1px;
}

/* 根据父容器宽度调整布局 */
@container (max-width: 768px) {
  .recommendation-col {
    width: 100% !important; /* 强制单列 */
  }
}

@container (min-width: 769px) and (max-width: 1199px) {
  .recommendation-col {
    width: 48% !important; /* 双列 */
  }
}

@container (min-width: 1200px) {
  .recommendation-col {
    width: 32% !important; /* 三列 */
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}